package com.jxbai.design.pattern.dcxy.builder;

/**
 * @author jxbai
 * @date 2021/12/13 0013
 */
public class MainTest {

    public static void main(String[] args) {
        AbstractPhoneBuilder builder = new PhoneBuilder();
        builder.cpu("骁龙888");
        builder.mem("12G");
        builder.disk("512G");
        builder.camera("1亿");
        Phone phone = builder.getProduct();
        System.out.println(phone);
    }
}
